<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>贪吃蛇</title>
		<link rel="stylesheet" type="text/css" href="css.css"/>
	</head>
	<body>
		<!--设置地图-->
		<div class="map">
		</div>		
		<script src="Food.js" type="text/javascript" charset="utf-8"></script>
		<script src="Snake.js" type="text/javascript" charset="utf-8"></script>
		<script src="Game.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">			
			//初始化游戏对象
			var gm=new Game(document.querySelector(".map"));			
			//游戏开始
			gm.init();
		</script>
	</body>
</html>
